home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cato
/
Xm
/
SgColorChooserSetStoredColor.z
/
SgColorChooserSetStoredColor
Wrap
Text File
|
1998-10-20
|
6KB
|
133 lines
SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttSSSSttttoooorrrreeeeddddCCCCoooollllooooUUUUrrrrNNNN((((IIII3333XXXXXXXX))))SSSSyyyyssssSSSSttttggggeeeeCCCCmmmmoooollllVVVVoooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttSSSSttttoooorrrreeeeddddCCCCoooolllloooorrrr((((3333XXXX))))
NNNNAAAAMMMMEEEE
SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttSSSSttttoooorrrreeeeddddCCCCoooolllloooorrrr - A ColorChooser function that
sets the color of the ColorChooser's stored color swatch
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<SSSSggggmmmm////CCCCoooolllloooorrrrCCCC....hhhh>>>>
vvvvooooiiiidddd SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttSSSSttttoooorrrreeeeddddCCCCoooolllloooorrrr ((((_w_i_d_g_e_t, _r_e_d, _g_r_e_e_n, _b_l_u_e))))
WWWWiiiiddddggggeeeetttt _w_i_d_g_e_t;;;;
sssshhhhoooorrrrtttt _r_e_d;;;;
sssshhhhoooorrrrtttt _g_r_e_e_n;;;;
sssshhhhoooorrrrtttt _b_l_u_e;;;;
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents the version of Sgm that accompanies
Motif 1.2.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttSSSSttttoooorrrreeeeddddCCCCoooolllloooorrrr sets the color of the
ColorChooser's stored color swatch component. This gives
the developers access to set the ColorChooser reference
color.
Calling SgColorChooserSetStoredColor and
SgColorChooserSetCurrentColor with the same color value is
equivalent to calling SgColorChooserSetColor.
_w_i_d_g_e_t Specifies the ColorChooser widget ID.
_r_e_d Specifies the red color component in an RGB color
space.
_g_r_e_e_n Specifies the green color component in an RGB color
space.
_b_l_u_e Specifies the blue color component in an RGB color
space.
The color components range from 0 (no intensity) to 255
(maximum intensity). This is the same range used by Iris GL
(RRRRGGGGBBBBCCCCoooolllloooorrrr((((3333GGGG))))).
For a complete definition of ColorChooser widget and its
associated resources, see SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrr((((3333XXXX)))).
RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrr((((3333XXXX)))). SSSSggggCCCCrrrreeeeaaaatttteeeeCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrr((((3333XXXX)))),
SSSSggggCCCCrrrreeeeaaaatttteeeeCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrDDDDiiiiaaaalllloooogggg((((3333XXXX)))), SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttCCCCoooolllloooorrrr((((3333XXXX)))),
SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrGGGGeeeettttCCCCoooolllloooorrrr((((3333XXXX)))),
Page 1 (printed 4/30/98)
SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttSSSSttttoooorrrreeeeddddCCCCoooollllooooUUUUrrrrNNNN((((IIII3333XXXXXXXX))))SSSSyyyyssssSSSSttttggggeeeeCCCCmmmmoooollllVVVVoooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttSSSSttttoooorrrreeeeddddCCCCoooolllloooorrrr((((3333XXXX))))
SSSSggggCCCCoooolllloooorrrrCCCChhhhoooooooosssseeeerrrrSSSSeeeettttCCCCuuuurrrrrrrreeeennnnttttCCCCoooolllloooorrrr((((3333XXXX)))), and RRRRGGGGBBBBCCCCoooolllloooorrrr((((3333GGGG)))).
Page 2 (printed 4/30/98)